<?#//v.3.0.0
#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////
?>
<?
$TMP_usmenutitle=$MSG_25_0003;
include phpa_include("template_user_menu_header.html");
?>

<form name="addfeedback" action="buysellnofeedback.php" method="POST">
    <table width="100%" border="0" cellspacing="1" cellpadding="4">
        <?
        if(is_array($AUCTIONIDS)) {
        ?>
        <tr>
            <th>
                <?=$MSG_458;?>
            </th>
            <th>
                <?=$MSG_25_0004;?>
            </th>
            <th>
                <?=$MSG_25_0003?>
            </th>
            <th>
                <?=$MSG_25_0005;?>
            </th>
            <th>
                <?=$MSG_25_0006;?>
            </th>
            <th>
                <?=$MSG_902;?>
            </th>
        </tr>
        <?
        foreach($AUCTIONIDS as $k=>$v) {
        	if(!($k%2)) $BGCOLOR = ""; else $BGCOLOR = 'class="alt-row"';
		?>
        <tr <?=$BGCOLOR?>>
            <td>
                <b><a href=item.php?id=<?=$v?> target=_blank>
                <?=$AUCTIONS[$k]?>
                </a></b>
            </td>       	
            <td>
                <?=$WINNERORSELLER_NICK[$k]?>
                ,
                <?=$WINORSELL[$k]?>
                ( <a href="feedback.php?id=<?=$WINNERORSELLER[$k]?>&auction_id=<?=$v?>">
                <?=$MSG_25_0003?>
                </a> ) <br>
            </td>
            <td align="center">
                <input type="checkbox" value="<?=$k?>" name="dofeed[]" (>
                <input type="hidden" name="TPL_auction[<?=$k?>]" value="<?=$v?>" />
                <input type="hidden" name="TPL_sellbuy[<?=$k?>]" value="<?=$WINNERORSELLER[$k]?>" />
            </td>
            <td>
                <a href=mailto:<?=$WINNERORSELLER_EMAIL[$k]?>>
                <?=$WINNERORSELLER_EMAIL[$k]?>
                </a> </td>
            <td>
                <a href=javascript:window_open('converter.php?AMOUNT=<?=$BID[$k]?>','incre',650,200,30,30)>
                <?=print_money($BID[$k])?>
                </a> </td>
            <td>
                <?
                if($QTY[$k] > 0) {
                	print $QTY[$k];
                } else {
                	print "1";
                }
				?>
            </td>
        </tr>
        <?
        }
		?>
        <tr>
            <td colspan="6">
            	&nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2" align=RIGHT><b><? print $MSG_187; ?>:</b> </td>
            <td colspan="4">
                <input type="hidden" name="TPL_rater_nick" value="<?=$TPL_rater_nick;?>">
                <?=$TPL_rater_nick;?>
            </td>
        </tr>
        <tr>
            <td colspan="2" align=RIGHT><b><? print $MSG_188; ?>:</b> </td>
            <td colspan="4">
                <input type="password" name="TPL_password" size="20" maxlength="20" value="">
            </td>
        </tr>
        <tr>
            <td colspan="2" align=RIGHT><b><? print $MSG_503; ?>:</b> </td>
            <td colspan="4">
                <input type="radio" name="TPL_rate" value="1" CHECKED/>
                <img src="./images/positive.gif" width=24 height=24 border=0 alt="3" /> 
                <input type="radio" name="TPL_rate" value="0" />
                <img src="./images/neutral.gif" width=24 height=24 border=0 alt="2" />
                <input type="radio" name="TPL_rate" value="-1" />
                <img src="./images/negative.gif" width=24 height=24 border=0 alt="1" />
        </tr>
        <tr>
            <td colspan="2" align=RIGHT valign="top"><b><? print $MSG_25_0213?></b> </td>
            <td colspan="4">
                <textarea name="TPL_feedback" rows="10" cols="50"><? echo $TPL_feedback; ?></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2"></td>
            <td colspan="4"><br>
                <input type="submit" name="" value="<?=$MSG_530?>" class=button />
                <input type="reset" name="" class=button />
                <p> 
            </td>
        </tr>
        <?
        }
					  ?>
    </table>
</form>
<?
include phpa_include("template_user_menu_footer.html");
?>
